package com.feri.sh.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_answers")
public class Answers{
    @TableId(type = IdType.AUTO)
    private Integer id;  //主键
    private Integer qid;  //回答问题的id
    private Integer uid;  //用户的id
    private String content; //回答的内容
    private Date ctime;  //回答时间
}
